﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMoney.IStock.Client.Models.MC
{
    /// <summary>
    /// 账号信息
    /// </summary>
    [Serializable]
    public class OneUserInfo
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int user_id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string USER_NAME { get; set; }
        /// <summary>
        /// 是否有密码 1：有
        /// </summary>
        public int pwd { get; set; }
        /// <summary>
        /// 密文手机号
        /// </summary>
        public byte[] account { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 注册时的用户类型：1:user_name; 2:手机号; 3:email; 4:qq号(暂无效);; 100:QQ登录; 101:sina微博
        /// </summary>
        public int product_id { get; set; }
        /// <summary>
        /// 客户端类型 1:CLIENT_PC; 2:CLIENT_MOBILE
        /// </summary>
        public int client_type { get; set; }
        /// <summary>
        /// 终端版本号
        /// </summary>
        public string client_ver { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime registry_time { get; set; }
        /// <summary>
        /// 状态 0 正常 1注销
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 首次登陆的硬件码
        /// </summary>
        public string hardware { get; set; }
        /// <summary>
        /// 末次登陆的硬件码
        /// </summary>
        public string hardware1 { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime last_login { get; set; }
        /// <summary>
        /// 销售渠道
        /// </summary>
        public string channel { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string nickname { get; set; }
    }
}
